﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:Sms_Channel三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class Sms_ChannelManager
	{
		public static int AddSms_Channel(Sms_Channel sms_Channel)
		{
			return Sms_ChannelService.AddSms_Channel(sms_Channel);
		}
		public static int DeleteSms_ChannelByid(long id)
		{
			return Sms_ChannelService.DeleteSms_ChannelById(id);
		}
		
		public static int ModifySms_ChannelByid(Sms_Channel sms_Channel)
		{
			return Sms_ChannelService.ModifySms_ChannelByid(sms_Channel);
		}
		
		
		public static IList<Sms_Channel> GetAllSms_Channels()
		{
			return Sms_ChannelService.GetAllSms_Channels();
		}
		public static Sms_Channel GetSms_ChannelByid(long id)
		{
			return Sms_ChannelService.GetSms_ChannelByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<Sms_Channel> ShowSms_ChannelForPage(int curragePage,int NUMCount)
		{
			return 	Sms_ChannelService.ShowSms_ChannelForPage(curragePage,NUMCount);
		}
	}
}
